package com.example.mydownloader.myconst

class ResponseMessage {
    class Error {
        companion object {
            const val HEADER_NO_TIMESTAMP = "请求头缺少时间戳"
            const val HEADER_TIMESTAMP_UNTRUSTED = "请求过时"
            const val HEADER_TIMESTAMP_INCORRECT = "时间戳解析错误"
            const val HEADER_NO_AES_KEY = "请求头缺少密钥参数"
            const val HEADER_NO_AES_IV = "请求头缺少偏移量参数"
            const val HEADER_NO_SIGNATURE = "请求头缺少签名参数"
            const val SESSION_INVALID = "会话过时，参数丢失。请重新执行预请求"
            const val TAMPERED_REQUEST = "请求被篡改"
        }
    }

    class Success {
        companion object {
            const val PUBLIC_KEY_CREATED = "公钥已生成"
        }
    }
}